I'm trying to create a layout script that concatenates data from three columns together. I come into a problem with objects that do not have data in these columns since I want to include a ":" between the data. So I'd like to set up an if statement that displays nothing when nothing is in the first of the three columns. I came up with this, but it gives invalid syntax. . .
if obj."Criteria 1" = null { stevenson - Fri Aug 30 15:39:33 EDT 2013 |
Re: DXL Layout Script
"=" means assign, "==" means compare. You also need to concatenate a string (the "") to you obj.attr reference to make sure the value is retrieved. -Louie |